<?if(MEMBER && $data->account->lastonlines):?>
<h2><a href="/search/online">[ <?=dgettext('profile','Online Users')?> ]</a><span><?=dgettext('profile','Last Onlines')?></span></h2>
<div class="lastonlines">
    <?
    foreach ($data->account->lastonlines as $p)
        include 'apps/profile/template/mini.html';
    ?>
<div class="clear"></div>
</div>
<?endif;?>